<?php

interface IConnection {
	function connect($host,$userName,$password,$database);
	function disconnect();
	/**
	 * Enter description here...
	 *
	 * @param string $sql
	 * @return PrepearedStatement
	 * 
	 */
	function prepearStatement($sql);
	function isConnected();
	/**
	 * Enter description here...
	 *
	 * @param string $name
	 * @return ITableDescriptor
	 */
	function createTableDescriptor($name);
}

?>